using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using HengTong.Model.Db.System;


namespace HengTong.ViewModel.Common.SysTemplateVms
{
    public partial class SysTemplateTemplateVm : BaseTemplateVM
    {
        [Display(Name = "模板名称")]
        public ExcelPropety TemplateNameExcel = ExcelPropety.CreateProperty<SysTemplate>(x => x.TemplateName);
        [Display(Name = "模板编码")]
        public ExcelPropety TemplateCodeExcel = ExcelPropety.CreateProperty<SysTemplate>(x => x.TemplateCode);
        [Display(Name = "模板类型")]
        public ExcelPropety TemplateTypeExcel = ExcelPropety.CreateProperty<SysTemplate>(x => x.TemplateType);
        [Display(Name = "模板内容")]
        public ExcelPropety TemplateContentExcel = ExcelPropety.CreateProperty<SysTemplate>(x => x.TemplateContent);
        [Display(Name = "模板状态")]
        public ExcelPropety StatusExcel = ExcelPropety.CreateProperty<SysTemplate>(x => x.Status);
        [Display(Name = "模板版本")]
        public ExcelPropety VersionExcel = ExcelPropety.CreateProperty<SysTemplate>(x => x.Version);
        [Display(Name = "备注信息")]
        public ExcelPropety RemarksExcel = ExcelPropety.CreateProperty<SysTemplate>(x => x.Remarks);

	    protected override void InitVM()
        {
        }

    }

    public class SysTemplateImportVm : BaseImportVM<SysTemplateTemplateVm, SysTemplate>
    {

    }

}
